<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .clear {
            content: '';
            clear: both;
            display: block;
        }
        
        .die {
            width: 800px;
            height: 400px;
            margin: 0 auto;
            border: 1px solid blue;
            /* 水平居中 */
            /* justify-content: center; */
            /* 靠右对齐 */
            /* justify-content: flex-end; */
            /* 两端对齐 */
            /* justify-content: space-between; */
            /* flex项目两端对齐，项目间的距离是两端和容器距离的2倍 */
            /* justify-content: space-around; */
            /* flex项目两端对齐，项目间距和容器两端的距离相等。 */
            /* justify-content: space-evenly; */
            /* 垂直方向居中 */
            /* align-items: center; */
            /* cross轴底部对齐 */
            /* align-items: flex-end; */
            /* 水平、垂直居中 */
            /* justify-content: center;
            align-items: center; */
            /* align-items: flex-start; */
            display: flex;
            flex-wrap: wrap;
        }
        
        .die div {
            width: 200px;
            height: 100px;
            border: 1px solid pink;
        }
        
        .daer {
            /* width: 200px; */
            /* flex-grow: 1; */
            flex-shrink: 3;
        }
        
        .erer {
            /* flex-grow: 2; */
        }
        
        .saner ul li {
            float: left;
            width: 20px;
            background-color: #000;
        }
        
        .sier {}
        
        .wuer {
            flex-basis: fill;
            float: left;
        }
        
        span {
            width: 100px;
            display: inline-block;
        }
    </style>
</head>

<body>
    <div class="die">
        <div class="daer">1</div>
        <div class="erer">2</div>
        <span>北京欢迎你</span>
        <div class="saner">
            <ul class="clear">
                <li>1</li>
                <li>1</li>
                <li>1</li>
                <li>1</li>
                <li>1</li>
            </ul>
        </div>
        <div class="sier">4</div>
        <div class="wuer">5</div>
    </div>
</body>

</html>